body {
  margin: 0px;
  padding: 0px;
  background-image: url(../img/backb2.png);
  background-size: cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.max-box {
  width: 700px;
  height: 500px;
  padding: 20px;
  border-radius: 10px;
  background-color: white;
}

.choose {
  width: 700px;
  height: 30px;
  display: flex;
}

.choose a {
  display: block;
  width: 50px;
  padding: 0 5px;
  margin-right: 20px;
  height: 30px;
  line-height: 30px;
  color: white;
  text-align: center;
  font-size: 13px;
  text-decoration: none;
  background-color: rgba(0, 0, 0, 0.8);
}

.choose input {
  width: 190px;
  outline: none;
  height: 26px;
  border: #000000 1px solid;
}

.choose a:hover {
  background-color: black;
}

.record {
  width: 100%;
  overflow: hidden;
  background-color: #f5e3c2;
  border-collapse: collapse;
}

.record .tr {
  width: 100%;
  height: 30px;
}

.record th, .record td {
  text-align: center;
  width: 16.6%;
  height: 30px;
  border: 1px black solid;
}

.record a {
  color: #ca5454;
  text-decoration: none;
}

.record a:hover {
  color: red;
}

#adddiv, #revisediv, #finddiv {
  width: 280px;
  height: 220px;
  padding: 10px;
  background-color: #FDEEED;
  position: absolute;
  top: -350px;
  z-index: 2;
  border-radius: 10px;
  box-shadow: 4px 4px 16px 0px #888888;
}

.from {
  width: 100%;
  text-align: center;
  height: 185px;
  background-color: #FDEEED;
}

.from div {
  margin-top: 10px;
  height: 20px;
  line-height: 20px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
}

.from button {
  margin-top: 10px;
  border: none;
  background-color: #d45b5b;
  width: 80px;
  height: 30px;
  color: white;
  cursor: pointer;
}

.from button:hover {
  background-color: #d83c3c;
}

.fade {
  width: 20px;
  height: 20px;
  font-size: 16px;
  border-radius: 100px;
  border: none;
  text-align: center;
  cursor: pointer;
  color: white;
  position: absolute;
  right: 15px;
  background-color: rgba(0, 0, 0, 0.5);
}

.fade:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.findt {
  width: 100%;
  height: 185px;
  background-color: #FDEEED;
}

.findt div {
  margin-top: 10px;
  height: 20px;
  line-height: 20px;
  font-size: 15px;
}

.down {
  animation-name: down;
  animation-duration: .5s;
  transition-timing-function: linear;
  -webkit-transition-timing-function: linear;
}

@keyframes down {
  from {
    top: -350px;
  }
  to {
    top: 20vh;
  }
}

@-webkit-keyframes down {
  from {
    top: -350px;
  }
  to {
    top: 20vh;
  }
}

.top {
  animation-name: top;
  animation-duration: 1s;
  transition-timing-function: linear;
  -webkit-transition-timing-function: linear;
}

@keyframes top {
  from {
    top: 20vh;
  }
  to {
    top: -350px;
  }
}

@-webkit-keyframes top {
  from {
    top: 20vh;
  }
  to {
    top: -350px;
  }
}

.addinput, .reviseinput {
  width: 220px;
  height: 20px;
}
